﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using tactics.Interfaces;

namespace tactics.Commands
{
    public class EnableDisableMouseCommand : BaseCommand
    {
        bool enabled;

        public EnableDisableMouseCommand(bool enabledIn)
        {
            Finished = false;
            enabled = enabledIn;
        }

        public override void Execute()
        {
            TacticsEngine.Instance.MouseEnabled = enabled;
            Finished = true;
        }
    }
}